let search = id("jgr").findOne().bounds()
click(search.centerX(), search.centerY())
sleep(2000)
let searchInput = className("android.widget.EditText").findOne().setText('10群小宝宝')
sleep(3000)

let searchItem = id('cg1').text('10群小宝宝').findOnce()
if (!searchItem) {
    click(276,358)
} else {
    let groupItem = id("cg1").text('10群小宝宝').findOne().bounds()
    click(groupItem.centerX(), groupItem.centerY())
    console.log(2);
    
}
